import request from '@/libs/request'

export function goods_index(data) {
  return request.get('charge/goods/index',data)
}
export function goods_add(data) {
  return request.get('charge/goods/add',data)
}
export function goods_edit(data) {
  return request.get('charge/goods/edit',data)
}
export function goods_del(data) {
  return request.post('charge/goods/del',data)
}
export function goods_reset(data) {
  return request.post('charge/goods/reset',data)
}


//代理话费管理
export function agoods_index(data) {
  return request.get('charge/agoods/index',data)
}
export function agoods_edit(data) {
  return request.get('charge/agoods/edit',data)
}

export function agoods_export(data) {
  return request.post('charge/agoods/export',data)
}

//话费订单
export function order_index(data) {
  return request.get('charge/order/index',data)
}

export function order_export(data) {
  return request.post('charge/order/export',data)
}

export function order_refund(data) {
  return request.post('charge/order/refund',data)
}
